<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>招聘会列表 - 高级筛选</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        /* 基础样式 */
        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            background-color: #f8fafc;
            color: #1e293b;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1280px;
        }
        
        /* 导航栏样式 */
        .navbar {
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            background-color: white;
            padding: 0.75rem 0;
        }
        
        .logo {
            font-weight: 700;
            font-size: 1.5rem;
            color: #2563eb;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .logo i {
            font-size: 1.75rem;
        }
        
        /* 主内容区 */
        .main-content {
            padding: 2rem 0;
        }
        
        .page-header {
            margin-bottom: 1.5rem;
        }
        
        .page-title {
            font-size: 2rem;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 0.5rem;
        }
        
        .page-description {
            color: #64748b;
            font-size: 1rem;
        }
        
        /* 筛选面板 */
        .filter-panel {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            padding: 1.25rem;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
        }
        
        .filter-panel:hover {
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
        }
        
        .filter-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .filter-title {
            font-weight: 600;
            font-size: 1.1rem;
            color: #1e293b;
        }
        
        .filter-toggle {
            color: #2563eb;
            background: none;
            border: none;
            font-size: 0.9rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        
        .filter-content {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .filter-group {
            margin-bottom: 0.5rem;
        }
        
        .filter-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: #334155;
            font-size: 0.9rem;
        }
        
        .form-select, .form-control, .form-check-input {
            width: 100%;
            padding: 0.5rem 0.75rem;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            font-size: 0.95rem;
            transition: all 0.2s ease;
        }
        
        .form-select:focus, .form-control:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
            outline: none;
        }
        
        .form-check {
            margin-bottom: 0.5rem;
        }
        
        .form-check-label {
            color: #64748b;
            font-size: 0.9rem;
            cursor: pointer;
        }
        
        .form-check-input:checked {
            background-color: #2563eb;
            border-color: #2563eb;
        }
        
        /* 高级筛选区域 */
        .advanced-filter {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px dashed #e2e8f0;
        }
        
        /* 筛选操作按钮 */
        .filter-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid #e2e8f0;
        }
        
        .btn-reset {
            color: #64748b;
            background-color: transparent;
            border: 1px solid #e2e8f0;
            padding: 0.5rem 1.25rem;
            border-radius: 6px;
            font-weight: 500;
            transition: all 0.2s ease;
        }
        
        .btn-reset:hover {
            background-color: #f1f5f9;
            color: #334155;
        }
        
        .btn-apply {
            background-color: #2563eb;
            color: white;
            border: none;
            padding: 0.5rem 1.5rem;
            border-radius: 6px;
            font-weight: 500;
            transition: all 0.2s ease;
        }
        
        .btn-apply:hover {
            background-color: #1d4ed8;
        }
        
        /* 筛选结果区域 */
        .results-section {
            margin-top: 1.5rem;
        }
        
        .results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .results-count {
            color: #64748b;
            font-size: 0.95rem;
        }
        
        .sort-options {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .sort-label {
            color: #64748b;
            font-size: 0.95rem;
        }
        
        /* 招聘会卡片 */
        .fair-card {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            margin-bottom: 1.25rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .fair-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }
        
        .fair-card-body {
            padding: 1.25rem;
        }
        
        .fair-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 0.75rem;
            transition: color 0.2s ease;
        }
        
        .fair-card:hover .fair-title {
            color: #2563eb;
        }
        
        .fair-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            font-size: 0.9rem;
            color: #64748b;
            margin-bottom: 0.75rem;
        }
        
        .fair-meta span {
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }
        
        .fair-description {
            color: #334155;
            font-size: 0.95rem;
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .fair-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .fair-tag {
            background-color: #f1f5f9;
            color: #64748b;
            font-size: 0.8rem;
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
        }
        
        .fair-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 0.75rem;
            border-top: 1px solid #f1f5f9;
        }
        
        .fair-stats {
            display: flex;
            gap: 1rem;
            font-size: 0.85rem;
            color: #64748b;
        }
        
        .fair-stat {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        
        .action-btn {
            background-color: transparent;
            border: 1px solid #e2e8f0;
            color: #64748b;
            padding: 0.35rem 0.75rem;
            border-radius: 4px;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 0.35rem;
            transition: all 0.2s ease;
            cursor: pointer;
        }
        
        .action-btn:hover {
            background-color: #f1f5f9;
        }
        
        .action-btn.primary {
            background-color: #2563eb;
            color: white;
            border-color: #2563eb;
        }
        
        .action-btn.primary:hover {
            background-color: #1d4ed8;
        }
        
        /* 分页样式 */
        .pagination-container {
            display: flex;
            justify-content: center;
            margin-top: 2rem;
        }
        
        .pagination {
            display: flex;
            gap: 0.5rem;
        }
        
        .page-item {
            list-style: none;
        }
        
        .page-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 6px;
            border: 1px solid #e2e8f0;
            background-color: white;
            color: #64748b;
            text-decoration: none;
            transition: all 0.2s ease;
        }
        
        .page-link:hover:not(.active) {
            border-color: #2563eb;
            color: #2563eb;
        }
        
        .page-link.active {
            background-color: #2563eb;
            border-color: #2563eb;
            color: white;
        }
        
        /* 活跃筛选标签 */
        .active-filters {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            padding: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .active-filters-title {
            font-size: 0.9rem;
            color: #64748b;
            margin-bottom: 0.75rem;
            font-weight: 500;
        }
        
        .filter-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        
        .filter-tag {
            background-color: #eff6ff;
            color: #2563eb;
            padding: 0.35rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .remove-filter {
            background: none;
            border: none;
            color: #2563eb;
            cursor: pointer;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }
        
        .remove-filter:hover {
            background-color: rgba(37, 99, 235, 0.1);
            color: #1d4ed8;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .filter-content {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            }
        }
        
        @media (max-width: 768px) {
            .main-content {
                padding: 1.5rem 0;
            }
            
            .page-title {
                font-size: 1.75rem;
            }
            
            .filter-content {
                grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
            }
            
            .results-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.75rem;
            }
            
            .fair-actions {
                flex-direction: column;
                align-items: stretch;
                gap: 0.75rem;
            }
            
            .fair-stats {
                justify-content: space-between;
                width: 100%;
            }
        }
        
        @media (max-width: 576px) {
            .filter-actions {
                flex-direction: column;
                gap: 0.75rem;
            }
            
            .btn-reset, .btn-apply {
                width: 100%;
            }
            
            .fair-meta {
                gap: 0.75rem;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg">
        <div class="container">
            <a href="#" class="logo">
                <i class="fas fa-briefcase"></i>
                <span>职场社交</span>
            </a>
            
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <i class="fas fa-bars"></i>
            </button>
            
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav ms-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="#">首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="#">招聘会</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">招聘</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">公司</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">消息</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">
                            <i class="fas fa-user-circle"></i>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
    
    <!-- 主内容区 -->
    <div class="main-content">
        <div class="container">
            <!-- 页面标题 -->
            <div class="page-header">
                <h1 class="page-title">招聘会列表</h1>
                <p class="page-description">找到适合您的招聘会，开启职业新旅程</p>
            </div>
            
            <!-- 活跃筛选标签 -->
            <div class="active-filters">
                <div class="active-filters-title">已选筛选条件:</div>
                <div class="filter-tags">
                    <div class="filter-tag">
                        <span>城市: 北京</span>
                        <button class="remove-filter" data-filter="city"><i class="fas fa-times"></i></button>
                    </div>
                    <div class="filter-tag">
                        <span>日期: 本周内</span>
                        <button class="remove-filter" data-filter="date"><i class="fas fa-times"></i></button>
                    </div>
                    <div class="filter-tag">
                        <span>行业: IT/互联网</span>
                        <button class="remove-filter" data-filter="industry"><i class="fas fa-times"></i></button>
                    </div>
                    <div class="filter-tag">
                        <span>类型: 校园招聘会</span>
                        <button class="remove-filter" data-filter="type"><i class="fas fa-times"></i></button>
                    </div>
                </div>
            </div>
            
            <!-- 基础筛选面板 -->
            <div class="filter-panel">
                <div class="filter-header">
                    <h3 class="filter-title">基础筛选</h3>
                    <button class="filter-toggle" id="basicFilterToggle">
                        <i class="fas fa-chevron-up"></i>
                        <span>收起</span>
                    </button>
                </div>
                
                <div class="filter-content" id="basicFilterContent">
                    <!-- 城市筛选 -->
                    <div class="filter-group">
                        <label class="filter-label">城市</label>
                        <select class="form-select" id="cityFilter">
                            <option value="">全部城市</option>
                            <option value="beijing" selected>北京</option>
                            <option value="shanghai">上海</option>
                            <option value="guangzhou">广州</option>
                            <option value="shenzhen">深圳</option>
                            <option value="hangzhou">杭州</option>
                            <option value="chengdu">成都</option>
                            <option value="wuhan">武汉</option>
                        </select>
                    </div>
                    
                    <!-- 日期筛选 -->
                    <div class="filter-group">
                        <label class="filter-label">举办日期</label>
                        <select class="form-select" id="dateFilter">
                            <option value="">全部日期</option>
                            <option value="today">今天</option>
                            <option value="tomorrow">明天</option>
                            <option value="week" selected>本周内</option>
                            <option value="month">本月内</option>
                            <option value="custom">自定义范围</option>
                        </select>
                    </div>
                    
                    <!-- 行业筛选 -->
                    <div class="filter-group">
                        <label class="filter-label">行业类型</label>
                        <select class="form-select" id="industryFilter">
                            <option value="">全部行业</option>
                            <option value="it" selected>IT/互联网</option>
                            <option value="finance">金融</option>
                            <option value="education">教育</option>
                            <option value="healthcare">医疗健康</option>
                            <option value="manufacturing">制造业</option>
                            <option value="service">服务业</option>
                            <option value="retail">零售业</option>
                        </select>
                    </div>
                    
                    <!-- 招聘会类型 -->
                    <div class="filter-group">
                        <label class="filter-label">招聘会类型</label>
                        <select class="form-select" id="typeFilter">
                            <option value="">全部类型</option>
                            <option value="campus" selected>校园招聘会</option>
                            <option value="social">社会招聘会</option>
                            <option value="specialized">行业专场</option>
                            <option value="online">线上招聘会</option>
                            <option value="overseas">海外人才</option>
                        </select>
                    </div>
                    
                    <!-- 企业数量 -->
                    <div class="filter-group">
                        <label class="filter-label">企业数量</label>
                        <select class="form-select" id="companyCountFilter">
                            <option value="">不限</option>
                            <option value="50">50家以下</option>
                            <option value="50-200">50-200家</option>
                            <option value="200-500">200-500家</option>
                            <option value="500+">500家以上</option>
                        </select>
                    </div>
                </div>
                
                <!-- 高级筛选 -->
                <div class="advanced-filter">
                    <div class="filter-header">
                        <h3 class="filter-title">高级筛选</h3>
                        <button class="filter-toggle" id="advancedFilterToggle">
                            <i class="fas fa-chevron-down"></i>
                            <span>展开</span>
                        </button>
                    </div>
                    
                    <div class="filter-content" id="advancedFilterContent" style="display: none;">
                        <!-- 薪资范围 -->
                        <div class="filter-group">
                            <label class="filter-label">主要岗位薪资</label>
                            <select class="form-select" id="salaryFilter">
                                <option value="">不限</option>
                                <option value="5k-">5k以下</option>
                                <option value="5k-10k">5k-10k</option>
                                <option value="10k-20k">10k-20k</option>
                                <option value="20k-30k">20k-30k</option>
                                <option value="30k+">30k以上</option>
                            </select>
                        </div>
                        
                        <!-- 岗位类型 -->
                        <div class="filter-group">
                            <label class="filter-label">主要岗位类型</label>
                            <div class="form-check">
                                <input class="form-check-input" type="checkbox" id="fulltime">
                                <label class="form-check-label" for="fulltime">全职</label>
                            </div>
                            <div class="form-check">
                                <input class="form-check-input" type="checkbox" id="parttime">
                                <label class="form-check-label" for="parttime">兼职</label>
                            </div>
                            <div class="form-check">
                                <input class="form-check-input" type="checkbox" id="internship">
                                <label class="form-check-label" for="internship">实习</label>
                            </div>
                            <div class="form-check">
                                <input class="form-check-input" type="checkbox" id="graduate">
                                <label class="form-check-label" for="graduate">管培生</label>
                            </div>
                        </div>
                        
                        <!-- 经验要求 -->
                        <div class="filter-group">
                            <label class="filter-label">经验要求</label>
                            <div class="form-check">
                                <input class="form-check-input" type="checkbox" id="exp0">
                                <label class="form-check-label" for="exp0">应届生/无经验</label>
                            </div>
                            <div class="form-check">
                                <input class="form-check-input" type="checkbox" id="exp1-3">
                                <label class="form-check-label" for="exp1-3">1-3年</label>
                            </div>
                            <div class="form-check">
                                <input class="form-check-input" type="checkbox" id="exp3-5">
                                <label class="form-check-label" for="exp3-5">3-5年</label>
                            </div>
                            <div class="form-check">
                                <input class="form-check-input" type="checkbox" id="exp5+">
                                <label class="form-check-label" for="exp5+">5年以上</label>
                            </div>
                        </div>
                        
                        <!-- 学历要求 -->
                        <div class="filter-group">
                            <label class="filter-label">学历要求</label>
                            <div class="form-check">
                                <input class="form-check-input" type="checkbox" id="eduHighSchool">
                                <label class="form-check-label" for="eduHighSchool">高中及以下</label>
                            </div>
                            <div class="form-check">
                                <input class="form-check-input" type="checkbox" id="eduCollege">
                                <label class="form-check-label" for="eduCollege">专科</label>
                            </div>
                            <div class="form-check">
                                <input class="form-check-input" type="checkbox" id="eduBachelor" checked>
                                <label class="form-check-label" for="eduBachelor">本科</label>
                            </div>
                            <div class="form-check">
                                <input class="form-check-input" type="checkbox" id="eduMaster">
                                <label class="form-check-label" for="eduMaster">硕士及以上</label>
                            </div>
                        </div>
                        
                        <!-- 特色服务 -->
                        <div class="filter-group">
                            <label class="filter-label">特色服务</label>
                            <div class="form-check">
                                <input class="form-check-input" type="checkbox" id="serviceCareer">
                                <label class="form-check-label" for="serviceCareer">职业指导</label>
                            </div>
                            <div class="form-check">
                                <input class="form-check-input" type="checkbox" id="serviceResume">
                                <label class="form-check-label" for="serviceResume">简历诊断</label>
                            </div>
                            <div class="form-check">
                                <input class="form-check-input" type="checkbox" id="serviceTransport">
                                <label class="form-check-label" for="serviceTransport">交通补贴</label>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 筛选操作按钮 -->
                <div class="filter-actions">
                    <button class="btn-reset" id="resetFilters">
                        <i class="fas fa-sync-alt"></i> 重置所有筛选
                    </button>
                    <div>
                        <button class="btn-apply" id="applyFilters">
                            <i class="fas fa-filter"></i> 应用筛选
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- 搜索框 -->
            <div class="input-group mb-4">
                <input type="text" class="form-control" placeholder="搜索招聘会名称、企业或职位关键词..." aria-label="搜索招聘会" aria-describedby="searchBtn">
                <button class="btn btn-primary" type="button" id="searchBtn">
                    <i class="fas fa-search"></i> 搜索
                </button>
            </div>
            
            <!-- 筛选结果区域 -->
            <div class="results-section">
                <div class="results-header">
                    <div class="results-count">找到 <strong>12</strong> 个符合条件的招聘会</div>
                    <div class="sort-options">
                        <span class="sort-label">排序方式:</span>
                        <select class="form-select" style="width: auto;" id="sortOptions">
                            <option value="recommend">推荐排序</option>
                            <option value="date-asc">日期从早到晚</option>
                            <option value="date-desc" selected>日期从晚到早</option>
                            <option value="popular">热门程度</option>
                            <option value="company-count">企业数量</option>
                        </select>
                    </div>
                </div>
                
                <!-- 招聘会列表 -->
                <div class="fair-list">
                    <!-- 招聘会1 -->
                    <div class="fair-card">
                        <div class="fair-card-body">
                            <h3 class="fair-title">北京高校春季IT专场招聘会</h3>
                            
                            <div class="fair-meta">
                                <span><i class="fas fa-calendar-alt"></i> 2023-03-18 09:00-16:00</span>
                                <span><i class="fas fa-map-marker-alt"></i> 北京·国际会议中心</span>
                                <span><i class="fas fa-building"></i> 320+ 企业</span>
                                <span><i class="fas fa-user-graduate"></i> 校园招聘会</span>
                            </div>
                            
                            <p class="fair-description">本次IT专场招聘会汇聚百度、字节跳动、美团等知名互联网企业，提供软件开发、算法、产品经理等热门岗位，面向2023届计算机相关专业毕业生及有1-3年工作经验的技术人才。现场将有简历诊断和职业规划咨询服务。</p>
                            
                            <div class="fair-tags">
                                <span class="fair-tag">IT/互联网</span>
                                <span class="fair-tag">技术岗位</span>
                                <span class="fair-tag">应届生</span>
                                <span class="fair-tag">北京</span>
                            </div>
                            
                            <div class="fair-actions">
                                <div class="fair-stats">
                                    <div class="fair-stat"><i class="fas fa-eye"></i> 3.2k</div>
                                    <div class="fair-stat"><i class="fas fa-comment"></i> 156</div>
                                    <div class="fair-stat"><i class="fas fa-bookmark"></i> 428</div>
                                    <div class="fair-stat"><i class="fas fa-thumbs-up"></i> 312</div>
                                </div>
                                
                                <button class="action-btn primary">
                                    <i class="fas fa-ticket-alt"></i> 预约参加
                                </button>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 招聘会2 -->
                    <div class="fair-card">
                        <div class="fair-card-body">
                            <h3 class="fair-title">2023北京互联网人才春季交流会</h3>
                            
                            <div class="fair-meta">
                                <span><i class="fas fa-calendar-alt"></i> 2023-03-20 10:00-17:00</span>
                                <span><i class="fas fa-map-marker-alt"></i> 北京·国家会议中心</span>
                                <span><i class="fas fa-building"></i> 500+ 企业</span>
                                <span><i class="fas fa-briefcase"></i> 社会招聘会</span>
                            </div>
                            
                            <p class="fair-description">大型互联网行业人才交流会，覆盖产品、技术、运营、设计等全岗位，从初级到资深职位均有涉及。参会企业包括阿里巴巴、腾讯、京东等行业巨头，以及众多独角兽企业和创业公司。</p>
                            
                            <div class="fair-tags">
                                <span class="fair-tag">IT/互联网</span>
                                <span class="fair-tag">全岗位</span>
                                <span class="fair-tag">经验不限</span>
                                <span class="fair-tag">北京</span>
                            </div>
                            
                            <div class="fair-actions">
                                <div class="fair-stats">
                                    <div class="fair-stat"><i class="fas fa-eye"></i> 5.7k</div>
                                    <div class="fair-stat"><i class="fas fa-comment"></i> 328</div>
                                    <div class="fair-stat"><i class="fas fa-bookmark"></i> 856</div>
                                    <div class="fair-stat"><i class="fas fa-thumbs-up"></i> 642</div>
                                </div>
                                
                                <button class="action-btn primary">
                                    <i class="fas fa-ticket-alt"></i> 预约参加
                                </button>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 招聘会3 -->
                    <div class="fair-card">
                        <div class="fair-card-body">
                            <h3 class="fair-title">北京高校线上双选会 - 计算机专场</h3>
                            
                            <div class="fair-meta">
                                <span><i class="fas fa-calendar-alt"></i> 2023-03-22至2023-03-26</span>
                                <span><i class="fas fa-map-marker-alt"></i> 线上举办</span>
                                <span><i class="fas fa-building"></i> 280+ 企业</span>
                                <span><i class="fas fa-laptop"></i> 线上招聘会</span>
                            </div>
                            
                            <p class="fair-description">为期5天的线上双选会，专为计算机相关专业学生打造，提供在线投递简历、视频面试等功能。参会企业包括国企、外企和知名互联网公司，提供软件开发、测试、运维等多种岗位。</p>
                            
                            <div class="fair-tags">
                                <span class="fair-tag">IT/互联网</span>
                                <span class="fair-tag">线上</span>
                                <span class="fair-tag">应届生</span>
                                <span class="fair-tag">远程面试</span>
                            </div>
                            
                            <div class="fair-actions">
                                <div class="fair-stats">
                                    <div class="fair-stat"><i class="fas fa-eye"></i> 4.1k</div>
                                    <div class="fair-stat"><i class="fas fa-comment"></i> 189</div>
                                    <div class="fair-stat"><i class="fas fa-bookmark"></i> 623</div>
                                    <div class="fair-stat"><i class="fas fa-thumbs-up"></i> 456</div>
                                </div>
                                
                                <button class="action-btn primary">
                                    <i class="fas fa-link"></i> 进入会场
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 分页 -->
                <div class="pagination-container">
                    <ul class="pagination">
                        <li class="page-item">
                            <a class="page-link" href="#" aria-label="上一页">
                                <i class="fas fa-chevron-left"></i>
                            </a>
                        </li>
                        <li class="page-item">
                            <a class="page-link active" href="#">1</a>
                        </li>
                        <li class="page-item">
                            <a class="page-link" href="#">2</a>
                        </li>
                        <li class="page-item">
                            <a class="page-link" href="#">3</a>
                        </li>
                        <li class="page-item">
                            <a class="page-link" href="#">4</a>
                        </li>
                        <li class="page-item">
                            <a class="page-link" href="#">5</a>
                        </li>
                        <li class="page-item">
                            <a class="page-link" href="#" aria-label="下一页">
                                <i class="fas fa-chevron-right"></i>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    
    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 基础筛选面板展开/收起
            const basicFilterToggle = document.getElementById('basicFilterToggle');
            const basicFilterContent = document.getElementById('basicFilterContent');
            
            basicFilterToggle.addEventListener('click', function() {
                const icon = this.querySelector('i');
                const text = this.querySelector('span');
                
                if (basicFilterContent.style.display === 'none') {
                    basicFilterContent.style.display = 'grid';
                    icon.classList.remove('fa-chevron-down');
                    icon.classList.add('fa-chevron-up');
                    text.textContent = '收起';
                } else {
                    basicFilterContent.style.display = 'none';
                    icon.classList.remove('fa-chevron-up');
                    icon.classList.add('fa-chevron-down');
                    text.textContent = '展开';
                }
            });
            
            // 高级筛选面板展开/收起
            const advancedFilterToggle = document.getElementById('advancedFilterToggle');
            const advancedFilterContent = document.getElementById('advancedFilterContent');
            
            advancedFilterToggle.addEventListener('click', function() {
                const icon = this.querySelector('i');
                const text = this.querySelector('span');
                
                if (advancedFilterContent.style.display === 'none') {
                    advancedFilterContent.style.display = 'grid';
                    icon.classList.remove('fa-chevron-down');
                    icon.classList.add('fa-chevron-up');
                    text.textContent = '收起';
                } else {
                    advancedFilterContent.style.display = 'none';
                    icon.classList.remove('fa-chevron-up');
                    icon.classList.add('fa-chevron-down');
                    text.textContent = '展开';
                }
            });
            
            // 移除单个筛选条件
            const removeFilterBtns = document.querySelectorAll('.remove-filter');
            
            removeFilterBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    const filterType = this.getAttribute('data-filter');
                    const filterTag = this.closest('.filter-tag');
                    
                    // 移除筛选标签
                    filterTag.remove();
                    
                    // 重置对应筛选条件
                    if (filterType === 'city') {
                        document.getElementById('cityFilter').value = '';
                    } else if (filterType === 'date') {
                        document.getElementById('dateFilter').value = '';
                    } else if (filterType === 'industry') {
                        document.getElementById('industryFilter').value = '';
                    } else if (filterType === 'type') {
                        document.getElementById('typeFilter').value = '';
                    }
                    
                    // 如果没有筛选条件了，隐藏活跃筛选区域
                    if (document.querySelectorAll('.filter-tag').length === 0) {
                        document.querySelector('.active-filters').style.display = 'none';
                    }
                    
                    // 这里可以添加重新加载筛选结果的逻辑
                    console.log(`筛选条件 ${filterType} 已移除`);
                });
            });
            
            // 重置所有筛选条件
            document.getElementById('resetFilters').addEventListener('click', function() {
                // 重置所有下拉选择框
                document.querySelectorAll('select.form-select').forEach(select => {
                    select.value = '';
                });
                
                // 重置所有复选框
                document.querySelectorAll('input.form-check-input').forEach(checkbox => {
                    checkbox.checked = false;
                });
                
                // 清空搜索框
                document.querySelector('input.form-control[placeholder*="搜索"]').value = '';
                
                // 清空活跃筛选标签
                document.querySelector('.filter-tags').innerHTML = '';
                document.querySelector('.active-filters').style.display = 'none';
                
                // 这里可以添加重新加载全部结果的逻辑
                console.log('所有筛选条件已重置');
            });
            
            // 应用筛选条件
            document.getElementById('applyFilters').addEventListener('click', function() {
                // 获取所有筛选条件
                const city = document.getElementById('cityFilter').value;
                const date = document.getElementById('dateFilter').value;
                const industry = document.getElementById('industryFilter').value;
                const type = document.getElementById('typeFilter').value;
                const companyCount = document.getElementById('companyCountFilter').value;
                
                // 显示活跃筛选区域
                document.querySelector('.active-filters').style.display = 'block';
                const filterTagsContainer = document.querySelector('.filter-tags');
                filterTagsContainer.innerHTML = '';
                
                // 添加筛选标签
                if (city) {
                    const cityName = document.getElementById('cityFilter').options[
                        document.getElementById('cityFilter').selectedIndex
                    ].text;
                    filterTagsContainer.innerHTML += `
                        <div class="filter-tag">
                            <span>城市: ${cityName}</span>
                            <button class="remove-filter" data-filter="city"><i class="fas fa-times"></i></button>
                        </div>
                    `;
                }
                
                if (date) {
                    const dateName = document.getElementById('dateFilter').options[
                        document.getElementById('dateFilter').selectedIndex
                    ].text;
                    filterTagsContainer.innerHTML += `
                        <div class="filter-tag">
                            <span>日期: ${dateName}</span>
                            <button class="remove-filter" data-filter="date"><i class="fas fa-times"></i></button>
                        </div>
                    `;
                }
                
                if (industry) {
                    const industryName = document.getElementById('industryFilter').options[
                        document.getElementById('industryFilter').selectedIndex
                    ].text;
                    filterTagsContainer.innerHTML += `
                        <div class="filter-tag">
                            <span>行业: ${industryName}</span>
                            <button class="remove-filter" data-filter="industry"><i class="fas fa-times"></i></button>
                        </div>
                    `;
                }
                
                if (type) {
                    const typeName = document.getElementById('typeFilter').options[
                        document.getElementById('typeFilter').selectedIndex
                    ].text;
                    filterTagsContainer.innerHTML += `
                        <div class="filter-tag">
                            <span>类型: ${typeName}</span>
                            <button class="remove-filter" data-filter="type"><i class="fas fa-times"></i></button>
                        </div>
                    `;
                }
                
                // 重新绑定移除筛选条件事件
                document.querySelectorAll('.remove-filter').forEach(btn => {
                    btn.addEventListener('click', function() {
                        const filterType = this.getAttribute('data-filter');
                        const filterTag = this.closest('.filter-tag');
                        filterTag.remove();
                        
                        if (filterType === 'city') {
                            document.getElementById('cityFilter').value = '';
                        } else if (filterType === 'date') {
                            document.getElementById('dateFilter').value = '';
                        } else if (filterType === 'industry') {
                            document.getElementById('industryFilter').value = '';
                        } else if (filterType === 'type') {
                            document.getElementById('typeFilter').value = '';
                        }
                        
                        if (document.querySelectorAll('.filter-tag').length === 0) {
                            document.querySelector('.active-filters').style.display = 'none';
                        }
                        
                        console.log(`筛选条件 ${filterType} 已移除`);
                    });
                });
                
                // 这里可以添加根据筛选条件加载结果的逻辑
                console.log('筛选条件已应用');
                console.log({ city, date, industry, type, companyCount });
            });
            
            // 搜索功能
            document.getElementById('searchBtn').addEventListener('click', function() {
                const searchTerm = document.querySelector('input.form-control[placeholder*="搜索"]').value.trim();
                if (searchTerm) {
                    console.log(`搜索关键词: ${searchTerm}`);
                    // 这里可以添加搜索逻辑
                } else {
                    alert('请输入搜索关键词');
                }
            });
            
            // 排序功能
            document.getElementById('sortOptions').addEventListener('change', function() {
                const sortType = this.value;
                console.log(`排序方式: ${sortType}`);
                // 这里可以添加排序逻辑
            });
        });
    </script>
</body>
</html>
    
